[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 getverify()             Get Verify State

 #include   <dos.h>

 int        getverify(void);

    getverify() gets the status of the verify flag.

       Returns:     The current status of the verify flag:

                    0    verify flag is off
                    1    verify flag is on

   Portability:     MS-DOS only.

   -------------------------------- Example ---------------------------------

    The following statements report if disk writes are currently being
    verified.

           #include <stdio.h>   /* for printf*/
           #include <dos.h>     /* for getverify */

           main()
           {
               if (getverify()== 1)
                   printf(" Disk writes are verified");
               else
                   printf("Disk writes are not verified.");
           }


See Also: setverify()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson